package groovy.sample.userguide.singleton.example3

import com.google.inject.Inject

class Client2 {
	def Calculator2 calc
	Client2(Calculator2 calc) {this.calc = calc}
	
	def executeCalc(a, b) {
		calc.add(a, b)
	}
	
	String toString() { 'Client: ' + hashCode()}
}
